package com.trf.springcloud.service;

import com.trf.springcloud.pojo.Dept;

import java.util.List;

/**
 * @author 小小唐
 * @Date 2022/5/19-星期四-21:16
 */
public interface DeptService {
    //增加
    public boolean addDept(Dept dept);
    //查询
    public Dept queryById(Long id);
    //查询所有部门
    public List<Dept> queryAll();
}
